<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>物理可视化实验室 - 由lth创建</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        .header {
            background: linear-gradient(135deg, #2c3e50, #3498db);
            color: white;
            padding: 30px;
            text-align: center;
        }
        .header h1 {
            font-size: 2.2em;
            margin-bottom: 10px;
        }
        .header p {
            font-size: 1.1em;
            opacity: 0.9;
        }
        .content {
            padding: 30px;
        }
        .btn {
            display: block;
            width: 100%;
            padding: 15px;
            margin: 10px 0;
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
            text-decoration: none;
            border-radius: 8px;
            text-align: center;
            font-size: 1.1em;
            border: none;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .btn-catalog {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
        }
        .btn-collab {
            background: linear-gradient(135deg, #27ae60, #229954);
        }
        .btn-about {
            background: linear-gradient(135deg, #f39c12, #e67e22);
        }
        .footer {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            color: #6c757d;
            border-top: 1px solid #dee2e6;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>✔ 物理可视化实验室</h1>
            <p>由lth创建网页，欢迎您的使用</p>
        </div>
        
        <div class="content">
            <p style="text-align: center; margin-bottom: 30px; font-size: 1.1em; color: #555;">
                欢迎来到物理可视化网站！
            </p>
            
            <button class="btn btn-catalog" onclick="showPage('catalog')">
                📚 已经可以线上模拟的物理实验目录
            </button>
            
            <button class="btn btn-collab" onclick="showPage('collaborate')">
                👥 使用者共同创建接入口
            </button>
            
            <button class="btn btn-about" onclick="showPage('about')">
                ℹ️ 网站说明与信息介绍
            </button>
        </div>
        
        <div class="footer">
            <p>本网站由李腾赫于2025.10.6创建</p>
        </div>
    </div>

    <script>
        function showPage(page) {
            if (page === 'catalog') {
                window.location.href = 'catalog.html';
            } else if (page === 'collaborate') {
                alert('该功能尚未开放，开放时请输入正确三位数字密码。目前如有共同创建需求，请联系创建者！');
            } else if (page === 'about') {
                window.location.href = 'about.html';
            }
        }
    </script>
</body>
</html>